Make the dialog look like the nautilus dialog. (expander_activate_cb): get
authorJonathan Blandford <jrb@gnome.org>
Tue, 24 Feb 2004 06:47:51 +0000 (06:47 +0000)
committerJonathan Blandford <jrb@src.gnome.org>
Tue, 24 Feb 2004 06:47:51 +0000 (06:47 +0000)
Tue Feb 24 01:41:30 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the
        dialog look like the nautilus dialog.
        (expander_activate_cb): get the order correct.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfilechooserdefault.c

index 8eb92b7fd07a0c6545f70b0d88ae544b19aca2e8..864d856c709fd944d2450d1ebefe676b1be07add 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Feb 24 01:41:30 2004  Jonathan Blandford  <jrb@gnome.org>
+
+       * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the
+       dialog look like the nautilus dialog.
+       (expander_activate_cb): get the order correct.
+
 2004-02-23  Federico Mena Quintero  <federico@ximian.com>
 
        * gtk/gtkfilechooserdefault.c (list_selection_changed): Call
index 8eb92b7fd07a0c6545f70b0d88ae544b19aca2e8..864d856c709fd944d2450d1ebefe676b1be07add 100644 (file)
@@ -1,3 +1,9 @@
+Tue Feb 24 01:41:30 2004  Jonathan Blandford  <jrb@gnome.org>
+
+       * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the
+       dialog look like the nautilus dialog.
+       (expander_activate_cb): get the order correct.
+
 2004-02-23  Federico Mena Quintero  <federico@ximian.com>
 
        * gtk/gtkfilechooserdefault.c (list_selection_changed): Call
index 8eb92b7fd07a0c6545f70b0d88ae544b19aca2e8..864d856c709fd944d2450d1ebefe676b1be07add 100644 (file)
@@ -1,3 +1,9 @@
+Tue Feb 24 01:41:30 2004  Jonathan Blandford  <jrb@gnome.org>
+
+       * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the
+       dialog look like the nautilus dialog.
+       (expander_activate_cb): get the order correct.
+
 2004-02-23  Federico Mena Quintero  <federico@ximian.com>
 
        * gtk/gtkfilechooserdefault.c (list_selection_changed): Call
index 8eb92b7fd07a0c6545f70b0d88ae544b19aca2e8..864d856c709fd944d2450d1ebefe676b1be07add 100644 (file)
@@ -1,3 +1,9 @@
+Tue Feb 24 01:41:30 2004  Jonathan Blandford  <jrb@gnome.org>
+
+       * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the
+       dialog look like the nautilus dialog.
+       (expander_activate_cb): get the order correct.
+
 2004-02-23  Federico Mena Quintero  <federico@ximian.com>
 
        * gtk/gtkfilechooserdefault.c (list_selection_changed): Call
index 8eb92b7fd07a0c6545f70b0d88ae544b19aca2e8..864d856c709fd944d2450d1ebefe676b1be07add 100644 (file)
@@ -1,3 +1,9 @@
+Tue Feb 24 01:41:30 2004  Jonathan Blandford  <jrb@gnome.org>
+
+       * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the
+       dialog look like the nautilus dialog.
+       (expander_activate_cb): get the order correct.
+
 2004-02-23  Federico Mena Quintero  <federico@ximian.com>
 
        * gtk/gtkfilechooserdefault.c (list_selection_changed): Call
index c3949d1ac09812221379bf636adb929bd129ad4f..7f1cd17fb1435576f1b1409caadfa1944dd5d3a0 100644 (file)
@@ -1770,9 +1770,9 @@ expander_activate_cb (GtkExpander           *expander,
   active = gtk_expander_get_expanded (expander);
 
   if (active)
-    gtk_widget_show (impl->hpaned);
-  else
     gtk_widget_hide (impl->hpaned);
+  else
+    gtk_widget_show (impl->hpaned);
 }
 
 /* Creates the widgets specific to Save mode */
@@ -3552,13 +3552,17 @@ location_popup_handler (GtkFileChooserDefault *impl)
   dialog = gtk_dialog_new_with_buttons (_("Open Location"),
                                        GTK_WINDOW (toplevel),
                                        GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
-                                       GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
                                        GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+                                       GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
                                        NULL);
+  gtk_window_set_default_size (GTK_WINDOW (dialog), 300, -1);
+  gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
+  gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 2);
   gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);
 
   hbox = gtk_hbox_new (FALSE, 12);
   gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), hbox, FALSE, FALSE, 0);
+  gtk_container_set_border_width (GTK_CONTAINER (hbox), 5);
 
   label = gtk_label_new_with_mnemonic (_("_Location:"));
   gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);